#version 450 core
layout (location = 0) in vec3 position;
layout (location = 1) in vec3 normal;
layout (location = 2) in vec2 tex_coord;
out vec3 vertex_normal;
out vec2 vertex_tex_coord;
layout (location = 0) uniform mat4 model;
layout (location = 1) uniform mat4 view;
layout (location = 2) uniform mat4 projection;
void main()
{
    gl_Position = projection * view * model * vec4(position, 1.0);
    vertex_normal = normal;
    vertex_tex_coord = tex_coord;
}

